package com.me.mysqladmin.entity;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;

import org.apache.ibatis.type.Alias;

/**
 * 表格状态
 * @author dong
 */
@Alias("tableStatus")
public class TableStatus implements Serializable {
	private static final long serialVersionUID = 1L;
	
	// 所属数据库
	private String databaseName;
	
	// 表名
	private String table_name;
	
	// 存储引擎
	private String engine;
	
	// 总行数
	private BigInteger table_rows;
	
	// 创建时间
	private Timestamp create_time;
	
	// 更新时间
	private Timestamp update_time;
	
	// 排序规则
	private String table_collation;
	
	// 表说明
	private String table_comment;

	public String getDatabaseName() {
		return databaseName;
	}

	public void setDatabaseName(String databaseName) {
		this.databaseName = databaseName;
	}

	public String getTable_name() {
		return table_name;
	}

	public void setTable_name(String table_name) {
		this.table_name = table_name;
	}

	public String getEngine() {
		return engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public BigInteger getTable_rows() {
		return table_rows;
	}

	public void setTable_rows(BigInteger table_rows) {
		this.table_rows = table_rows;
	}

	public Timestamp getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}

	public Timestamp getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}

	public String getTable_collation() {
		return table_collation;
	}

	public void setTable_collation(String table_collation) {
		this.table_collation = table_collation;
	}

	public String getTable_comment() {
		return table_comment;
	}

	public void setTable_comment(String table_comment) {
		this.table_comment = table_comment;
	}

	@Override
	public String toString() {
		return "TableStatus [table_name=" + table_name + ", engine=" + engine
				+ ", table_rows=" + table_rows + ", create_time=" + create_time
				+ ", update_time=" + update_time + ", table_collation="
				+ table_collation + ", table_comment=" + table_comment + "]";
	}
}
